import pandas as pd
import numpy as np

df = pd.DataFrame(np.random.randn(8, 4), columns=['A', 'B', 'C', 'D'])
print(df)
print("----------")

# 获取第三行数据
s = df.iloc[3]

# 追加数据, 忽略行索引
df = df.append(s, ignore_index=True)
print(df)
